package com.cxl.feign.callback;

import com.cxl.feign.RoleFeignClient;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: 20971
 * @time: 2022/2/24 23:01
 * @description:
 */
@Component
public class RoleFeignClientBack implements RoleFeignClient {


    @Override
    public Map<String, Object> map() {
        Map<String, Object> map = new HashMap<>();
        map.put("msg", "hystrix断路器走本地操作mapTestBack");
        return map;
    }
}
